<% include pageHeader %>

<div id="main-wrapper">
    <div id="content" class="content-only">
        <div id="innerContent">
            <div class="textbox-title"><h4><%= __('recent_visitors') %></h4></div>
            <div class="listbox-table">
                <table cellpadding="2" cellspacing="2" width="100%">
                    <tr>
                        <td class="listbox-header" width="120"><%= __('ip') %></td>
                        <td class="listbox-header" width="100"><%= __('browser') %>/<%= __('os') %></td>
                        <td class="listbox-header" width="100"><%= __('timestamp') %></td>
                        <td class="listbox-header"><%= __('referer') %></td>
                    </tr>
                    <% for(var i = 0;i < arrVisitor.length;i++){ %>
                    <tr>
                        <td><%= helper.HTMLEncode(arrVisitor[i]["vr_ip"]) %></td>
                        <td><%= helper.HTMLEncode(arrVisitor[i]["vr_browser"]) %><br/><%= helper.HTMLEncode(
                                    arrVisitor[i]["vr_os"]) %></td>
                        <td><%= arrVisitor[i]["vr_time"] %></td>
                        <td><a href="<%= helper.HTMLEncode(arrVisitor[i]["vr_referer"]) %>"><%= helper.HTMLEncode(
                                        helper.cutString(arrVisitor[i]["vr_referer"], 50)) %></a></td>
                    </tr>
                    <% } %>
                </table>
            </div>
        </div>
    </div>
    <div class="clear"></div>
</div>

<% include pageFooter %>
